#include("/manage/_common/_layout.html")
#@layout()

### ********************************* 定义页面标题
#define title()
联系请求列表
#end

### ********************************* css导入
#define import_css()
#end

### ********************************* js导入
#define import_js()
#end

### ********************************* Body内容区开始
#define main()
<div class="layui-form layui-card-header" style="height: auto;">
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">名称</label>
			<div class="layui-input-inline">
				<input id="name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<a class="layui-btn" lay-submit="" id="ID_btn_search">
				<i class="layui-icon layui-icon-search"></i>
			</a>
		</div>
	</div>
</div>

<table class="layui-table"
	lay-data="{height: 'full-100', cellMinWidth: 60,url:'#(ctx)/manage/contactRequest/ajaxSearch', page:true, initSort: {field:'id', type:'desc'}, id:'ID_master_table', toolbar: '#ID_master_table_toolbar'}"
	lay-filter="LAY-master-table">
	<thead>
		<tr>
			<th lay-data="{field:'id', width:60, align:'center', sort: true, fixed: true}">ID</th>
			<th lay-data="{field:'name', width:200, sort: true, fixed: true}">姓名</th>
			<th lay-data="{field:'email', width:200, sort: true, fixed: true}">电子邮件</th>
			<th lay-data="{field:'phone', width:200, sort: true}">联系电话</th>
			<th lay-data="{field:'company', width:200, sort: true}">品牌/公司</th>
			<th lay-data="{field:'toTeam', width:200, sort: true}">目标团队</th>
			<th lay-data="{field:'message', width:400, sort: true}">需求/留言</th>
		</tr>
	</thead>
</table>

<!-- 行操作栏 -->
<script type="text/html" id="ID_master_table_action" >
	<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i></a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i></a>
</script>

<!-- 数据表格头部工具栏 -->
<script type="text/html" id="ID_master_table_toolbar">
	<div class="layui-btn-container">
	</div>
</script>

<!-- 数据表格单元格模板区域 -->
<script type="text/html" id="statusTpl">
#[[
	{{# if(d.status === 'off'){ }}
		<span style="color: #F581B1;">禁用</span>
	{{#  } else { }}
		启用
	{{#  } }}
]]#
</script>

#end
### ********************************* Body内容区结束


### ********************************* 脚本区开始
#define script()
#include("_index_script.html")
#end
### ********************************* JS脚本区结束
